package com.greenold.commen.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.greenold.common.annotation.Excel;
import com.greenold.common.core.domain.BaseEntity;

/**
 * 老人对象 elder
 * 
 * @author ruoyi
 * @date 2025-10-13
 */
public class Elder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 老人Id */
    private String id;

    /** 老人姓名 */
    @Excel(name = "老人姓名")
    private String name;

    /** 老人身份证号 */
    @Excel(name = "老人身份证号")
    private String idCard;

    /** 老人照片 */
    @Excel(name = "老人照片")
    private String photo;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthDate;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 家庭住址 */
    @Excel(name = "家庭住址")
    private String address;

    /** 民族 */
    @Excel(name = "民族")
    private String ethnicity;

    /** 政治面貌 */
    @Excel(name = "政治面貌")
    private String political;

    /** 宗教信仰 */
    @Excel(name = "宗教信仰")
    private String religion;

    /** 婚姻状况 */
    @Excel(name = "婚姻状况")
    private String maritalStatus;

    /** 文化程度 */
    @Excel(name = "文化程度")
    private String education;

    /** 经济来源 */
    @Excel(name = "经济来源")
    private String incomeSource;

    /** 特长爱好 */
    @Excel(name = "特长爱好")
    private String hobbies;

    /** 医疗保障 */
    @Excel(name = "医疗保障")
    private String medicalSecurity;

    /** 医保卡号 */
    @Excel(name = "医保卡号")
    private String medicalCardNo;

    /** 家属信息（json数组） */
    @Excel(name = "家属信息", readConverterExp = "j=son数组")
    private String familyMembers;

    /** 老人身份证正面 */
    @Excel(name = "老人身份证正面")
    private String idCardFront;

    /** 身份证反面 */
    @Excel(name = "身份证反面")
    private String idCardBack;

    /** 健康评估{json} */
    @Excel(name = "健康评估{json}")
    private String healthAssessment;

    /** 能力评估（1A2B3C） */
    @Excel(name = "能力评估", readConverterExp = "1=A2B3C")
    private String abilityAssessment;

    /** 评估报告{json} */
    @Excel(name = "评估报告{json}")
    private String assessmentReport;

    /** 护理等级（id） */
    @Excel(name = "护理等级", readConverterExp = "i=d")
    private String careLevelId;

    /** 状态（0：禁用，1:启用 2:请假 3:退住中 4入住中 5已退住） */
    @Excel(name = "状态", readConverterExp = "0=：禁用，1:启用,2=:请假,3=:退住中,4=入住中,5=已退住")
    private String status;

    /** 床位编号 */
    @Excel(name = "床位编号")
    private String bedNo;

    /** 床位id */
    @Excel(name = "床位id")
    private String bedId;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date createdAt;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Date updatedAt;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String createdBy;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String updatedBy;

    /** 扩展字段1 */
    @Excel(name = "扩展字段1")
    private String extend1;

    /** 扩展字段2 */
    @Excel(name = "扩展字段2")
    private String extend2;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setBirthDate(Date birthDate) 
    {
        this.birthDate = birthDate;
    }

    public Date getBirthDate() 
    {
        return birthDate;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setEthnicity(String ethnicity) 
    {
        this.ethnicity = ethnicity;
    }

    public String getEthnicity() 
    {
        return ethnicity;
    }

    public void setPolitical(String political) 
    {
        this.political = political;
    }

    public String getPolitical() 
    {
        return political;
    }

    public void setReligion(String religion) 
    {
        this.religion = religion;
    }

    public String getReligion() 
    {
        return religion;
    }

    public void setMaritalStatus(String maritalStatus) 
    {
        this.maritalStatus = maritalStatus;
    }

    public String getMaritalStatus() 
    {
        return maritalStatus;
    }

    public void setEducation(String education) 
    {
        this.education = education;
    }

    public String getEducation() 
    {
        return education;
    }

    public void setIncomeSource(String incomeSource) 
    {
        this.incomeSource = incomeSource;
    }

    public String getIncomeSource() 
    {
        return incomeSource;
    }

    public void setHobbies(String hobbies) 
    {
        this.hobbies = hobbies;
    }

    public String getHobbies() 
    {
        return hobbies;
    }

    public void setMedicalSecurity(String medicalSecurity) 
    {
        this.medicalSecurity = medicalSecurity;
    }

    public String getMedicalSecurity() 
    {
        return medicalSecurity;
    }

    public void setMedicalCardNo(String medicalCardNo) 
    {
        this.medicalCardNo = medicalCardNo;
    }

    public String getMedicalCardNo() 
    {
        return medicalCardNo;
    }

    public void setFamilyMembers(String familyMembers) 
    {
        this.familyMembers = familyMembers;
    }

    public String getFamilyMembers() 
    {
        return familyMembers;
    }

    public void setIdCardFront(String idCardFront) 
    {
        this.idCardFront = idCardFront;
    }

    public String getIdCardFront() 
    {
        return idCardFront;
    }

    public void setIdCardBack(String idCardBack) 
    {
        this.idCardBack = idCardBack;
    }

    public String getIdCardBack() 
    {
        return idCardBack;
    }

    public void setHealthAssessment(String healthAssessment) 
    {
        this.healthAssessment = healthAssessment;
    }

    public String getHealthAssessment() 
    {
        return healthAssessment;
    }

    public void setAbilityAssessment(String abilityAssessment) 
    {
        this.abilityAssessment = abilityAssessment;
    }

    public String getAbilityAssessment() 
    {
        return abilityAssessment;
    }

    public void setAssessmentReport(String assessmentReport) 
    {
        this.assessmentReport = assessmentReport;
    }

    public String getAssessmentReport() 
    {
        return assessmentReport;
    }

    public void setCareLevelId(String careLevelId) 
    {
        this.careLevelId = careLevelId;
    }

    public String getCareLevelId() 
    {
        return careLevelId;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public void setBedNo(String bedNo) 
    {
        this.bedNo = bedNo;
    }

    public String getBedNo() 
    {
        return bedNo;
    }

    public void setBedId(String bedId) 
    {
        this.bedId = bedId;
    }

    public String getBedId() 
    {
        return bedId;
    }

    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }

    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    public void setCreatedBy(String createdBy) 
    {
        this.createdBy = createdBy;
    }

    public String getCreatedBy() 
    {
        return createdBy;
    }

    public void setUpdatedBy(String updatedBy) 
    {
        this.updatedBy = updatedBy;
    }

    public String getUpdatedBy() 
    {
        return updatedBy;
    }

    public void setExtend1(String extend1) 
    {
        this.extend1 = extend1;
    }

    public String getExtend1() 
    {
        return extend1;
    }

    public void setExtend2(String extend2) 
    {
        this.extend2 = extend2;
    }

    public String getExtend2() 
    {
        return extend2;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("idCard", getIdCard())
            .append("photo", getPhoto())
            .append("gender", getGender())
            .append("birthDate", getBirthDate())
            .append("age", getAge())
            .append("mobile", getMobile())
            .append("address", getAddress())
            .append("ethnicity", getEthnicity())
            .append("political", getPolitical())
            .append("religion", getReligion())
            .append("maritalStatus", getMaritalStatus())
            .append("education", getEducation())
            .append("incomeSource", getIncomeSource())
            .append("hobbies", getHobbies())
            .append("medicalSecurity", getMedicalSecurity())
            .append("medicalCardNo", getMedicalCardNo())
            .append("familyMembers", getFamilyMembers())
            .append("idCardFront", getIdCardFront())
            .append("idCardBack", getIdCardBack())
            .append("healthAssessment", getHealthAssessment())
            .append("abilityAssessment", getAbilityAssessment())
            .append("assessmentReport", getAssessmentReport())
            .append("careLevelId", getCareLevelId())
            .append("status", getStatus())
            .append("bedNo", getBedNo())
            .append("bedId", getBedId())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .append("createdBy", getCreatedBy())
            .append("updatedBy", getUpdatedBy())
            .append("remark", getRemark())
            .append("extend1", getExtend1())
            .append("extend2", getExtend2())
            .toString();
    }
}










































